Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Remove unnecessary F0, F1 and Maybe #84

Merged
merged 1 commit into from
Jul 14, 2017

Conversation

jvican
Copy link
Member

@jvican jvican commented Jun 22, 2017

F0, F1 and Maybe have become useless since Java 8 introduced
Supplier, Function and Optional in the default Java 8 standard
library.

Therefore, they are not necessary anymore. This change is required to
change some Zinc's and sbt APIs. They are not widely used, so the
changes will be small.

@jvican
Copy link
Member Author

jvican commented Jun 25, 2017

Review by @eed3si9n and @dwijnand. This is an important and required change for the new Zinc API.

@stuhood
Copy link
Contributor

stuhood commented Jun 28, 2017

#shipit

@eed3si9n
Copy link
Member

Could you have the ripple PRs lined up and validated with Dbuild plz? https://jenkins.scala-sbt.org:8592/job/sbt%20validator/build

The parameter screen should look like this https://jenkins.scala-sbt.org:8592/job/sbt%20validator/40/parameters/

@jvican
Copy link
Member Author

jvican commented Jun 28, 2017

@eed3si9n We need to find a better solution than that. It's sad we're doing this just to emulate monorepo, it creates lots of overhead.

On a similar note, I tried to validate the PR but I must be logged in with my the scala sbt account or someone has to give me rights.

Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@jvican
Copy link
Member Author

jvican commented Jul 10, 2017

Can we ship this @eed3si9n ?

@eed3si9n
Copy link
Member

I would love to merge this if there are passing ripple PRs. Otherwise, someone else would end up doing the integration work.

@jvican
Copy link
Member Author

jvican commented Jul 10, 2017

Right, is there any reason why the lightbend validator hasn't run here?

@eed3si9n
Copy link
Member

`F0`, `F1` and `Maybe` have become useless since Java 8 introduced
`Supplier`, `Function` and `Optional` in the default Java 8 standard
library.

Therefore, they are not necessary anymore. This change is required to
change some Zinc's and sbt APIs. They are not widely used, so the
changes will be small.
jvican added a commit to scalacenter/zinc that referenced this pull request Jul 14, 2017
jvican added a commit to scalacenter/zinc that referenced this pull request Jul 14, 2017
jvican added a commit to scalacenter/sbt that referenced this pull request Jul 14, 2017
@jvican
Copy link
Member Author

jvican commented Jul 14, 2017

I have just finished doing two ripple PRs against sbt/sbt and sbt/zinc to validate this change, but realized that since Zinc hasn't been released yet with the new logging API, the validation is going to fail because my PR to sbt/zinc depends on this new API.

Can someone validate these PRs manually? They compile fine locally, except for the compilation failures in the logging API. I would like to get this in.

@typesafe-tools
Copy link

dbuild has checked the following projects against Scala 2.12:

Project Reference Commit
sbt pull/3317/head sbt/sbt@26cfe0c
zinc pull/359/head sbt/zinc@6ef476b
io 1.0 sbt/io@f55849d
librarymanagement pull/122/head sbt/librarymanagement@e3891c8
util pull/84/head 18a73db
website 1.0.x sbt/website@7e644bc

❌ The result is: FAILED
(restart)

@eed3si9n eed3si9n merged commit 199dc51 into sbt:1.0 Jul 14, 2017
eed3si9n pushed a commit to scala/compiler-interface that referenced this pull request Apr 23, 2019
dwijnand pushed a commit to dwijnand/sbt that referenced this pull request Apr 25, 2019
eed3si9n pushed a commit to eed3si9n/scala that referenced this pull request May 14, 2019
lrytz pushed a commit to lrytz/scala that referenced this pull request Nov 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants